/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.entity;

import com.jeeplus.modules.fleet.entity.VehicleInformation;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 折旧Entity
 * @author 李超辉
 * @version 2018-10-15
 */
public class Depreciation extends DataEntity<Depreciation> {
	
	private static final long serialVersionUID = 1L;
	private String pro;		// 项目
	private VehicleInformation car;		// 车牌号
	private String depreciation;		// 折旧费
	private Date min;		// 起始日期
	private Date max;		// 截止日期
	
	public Depreciation() {
		super();
	}

	public Depreciation(String id){
		super(id);
	}

	@ExcelField(title="项目", align=2, sort=7)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
	@ExcelField(title="车牌号", align=2, sort=8)
	public VehicleInformation getCar() {
		return car;
	}

	public void setCar(VehicleInformation car) {
		this.car = car;
	}
	
	@ExcelField(title="折旧费", align=2, sort=9)
	public String getDepreciation() {
		return depreciation;
	}

	public void setDepreciation(String depreciation) {
		this.depreciation = depreciation;
	}
	
	@JsonFormat(pattern = "yyyy-MM")
	@ExcelField(title="起始日期", align=2, sort=10)
	public Date getMin() {
		return min;
	}

	public void setMin(Date min) {
		this.min = min;
	}
	
	@JsonFormat(pattern = "yyyy-MM")
	@ExcelField(title="截止日期", align=2, sort=11)
	public Date getMax() {
		return max;
	}

	public void setMax(Date max) {
		this.max = max;
	}
	
}